package me.zhengjie.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 
 * @TableName iws_transfer_order
 */
@TableName(value ="iws_transfer_order")
@Data
public class TransferOrderDao implements Serializable {
    /**
     * 调拨单的唯一标识
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *  调拨单的单号
     */
    @TableField(value = "code")
    private String code;
    /**
     *  新调拨单号
     */
    @TableField(value = "new_code")
    private String newCode;

    /**
     * 调拨单的创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 调拨单的状态（如“待处理”）
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 行号
     */
    @TableField(value = "row_num")
    private Integer rowNum;


    /**
     * 目的地
     */
    @TableField(value = "destination")
    private String destination;

    /**
     * 单据类型
     */
//    @TableField(value = "type")
//    private String type;

    /**
     * 楼层
     */
    @TableField(value = "floor")
    private String floor;

    @TableField(exist = false)
    private Float total;


    @TableField(exist = false)
    private Float alreadyTotal;

    @TableField(exist = false)
    private List<String> outboundCodes;


    /**
     * 物料明细
     */
    @TableField(value = "materil_list")
    private String materialList;

    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer size;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}